home *** CD-ROM | disk | FTP | other *** search
Wrap
/****************************************************************************/ /* intercpt.sql is a member of the Visual Intercept Schema. */ /* Copyright (c) 1996 Elsinore Technologies, Inc. All rights reserved. */ /* */ /* This software is protected by copyright law. Unauthorized reproduction */ /* or distribution of this program, or any portion of it, may result in */ /* severe civil or criminal penalties. If you have any questions about */ /* your redistribution rights, please contact Elsinore Technologies, Inc. */ /* */ /* Creator: Mark J. Uland (MJU) */ /* History: Created 09/17/95 */ /****************************************************************************/ /****************************************************************************/ /* */ /* Note 1: IF YOU ARE GOING TO INSTALL THIS PRODUCT TO A DATABASE OTHER */ /* THAN INTERCEPT, YOU MUST EDIT THIS SCRIPT TO USE THE CORRECT */ /* DATABASE AND TO ADD THE CORRECT USER LOGINS. THE PLACES YOU */ /* NEED TO EDIT ARE MARKED WITH 'SEE NOTE 1'. */ /* Note 2: IF YOU ARE INSTALLING OVER ANOTHER INTERCEPT DATABASE, YOU */ /* MUST MANUALLY DROP THE DATABASE. */ /* Note 3: YOU MAY WANT TO CREATE A DATABASE THAT REFLECTS YOUR */ /* ORGINIZATIONAL AND HARDWARE REQUIREMENTS MORE CLOSELY THAN */ /* A SIMPLE 'CREATE DATABASE'. YOU CAN USE THE SQL ADMINISTRATOR */ /* APPLICATION TO DO SO AND JUST COMMENT OUT THE CREATE DATABASE */ /* LINE FROM THIS SCRIPT. */ /* Note 4: YOU MAY NEED TO CREATE THE VISUAL INTERCEPT USERS WITH A MORE */ /* APPROPRIATE ROLL. */ /****************************************************************************/ /****************************************************************************/ /* */ /* Create stock Visual Intercept users with in Oracle. */ /* */ /* Visual Intercept handles two kinds of logon security schemes. The first */ /* scheme uses a behind the scenes, universal database userID and password */ /* that is used to connect the Visual Intercept user to the actual DBMS. */ /* If this logon is successful, then the userID and password the user has */ /* entered in the Visual Intercept Security Dialog is validated against */ /* the Users table. The second scheme is a pass-through scheme that takes */ /* the userID and password entered in the Visual Intercept Security Dialog */ /* and attempts to connect to the actual DBMS with them. If this is */ /* successful, then only the userID is then validated against the Users */ /* table. The first scheme is easier to administrate but all users look */ /* like a single user to the database administrator. The second is more */ /* secure and easier to monitor, but potentially harder to administrate. */ /* See the manual for details. */ /****************************************************************************/ /* NOTE 4*/ CREATE USER guest IDENTIFIED BY guest CREATE USER isadmin IDENTIFIED BY isadmin CREATE USER isnotify IDENTIFIED BY isnotify CREATE USER isuser IDENTIFIED BY isuser /****************************************************************************/ /* */ /* Drop existing Visual Intercept tables if they already exist */ /* */ /****************************************************************************/ DROP PUBLIC SYNONYM Account_Contacts; DROP PUBLIC SYNONYM Incident_Contacts; DROP PUBLIC SYNONYM Incident_Documents; DROP PUBLIC SYNONYM Incident_History; DROP PUBLIC SYNONYM Incident_Incidents; DROP PUBLIC SYNONYM Incident_Sources; DROP PUBLIC SYNONYM Project_Projects; DROP PUBLIC SYNONYM Project_Security; DROP PUBLIC SYNONYM Project_Versions; DROP PUBLIC SYNONYM Group_Security; DROP PUBLIC SYNONYM Notify; DROP PUBLIC SYNONYM Notify_Trigger; DROP PUBLIC SYNONYM Defaults; DROP PUBLIC SYNONYM Account; DROP PUBLIC SYNONYM Contact; DROP PUBLIC SYNONYM Incident; DROP PUBLIC SYNONYM Project; DROP PUBLIC SYNONYM Users; DROP PUBLIC SYNONYM Contact_Type; DROP PUBLIC SYNONYM Related_Type; DROP PUBLIC SYNONYM Severity_Type; DROP PUBLIC SYNONYM Status_Type; DROP PUBLIC SYNONYM Priority_Type; DROP PUBLIC SYNONYM Category_Type; DROP PUBLIC SYNONYM Report; DROP table Account_Contacts; DROP table Incident_Contacts; DROP table Incident_Documents; DROP table Incident_History; DROP table Incident_Incidents; DROP table Incident_Sources; DROP table Project_Projects; DROP table Project_Security; DROP table Project_Versions; DROP table Group_Security; DROP table Notify; DROP table Notify_Trigger; DROP table Defaults; DROP table Account; DROP table Contact; DROP table Incident; DROP table Project; DROP table Users; DROP table Contact_Type; DROP table Related_Type; DROP table Severity_Type; DROP table Status_Type; DROP table Priority_Type; DROP table Category_Type; DROP table Report; /****************************************************************************/ /* */ /* Create Visual Intercept tables */ /* */ /****************************************************************************/ CREATE TABLE Account ( Code varchar2 ( 32 ) NOT NULL, Name varchar2 ( 64 ) NOT NULL, UserID varchar2 ( 128 ) NULL, Description long NULL, Rate number ( 22,2 ) NULL, ts char ( 16) NULL ) / CREATE UNIQUE INDEX AccountUPK ON Account( Code ) / CREATE TABLE Account_Contacts ( AccountCode varchar2 ( 32 ) NOT NULL, ContactID float NOT NULL ) / CREATE UNIQUE INDEX Account_ContactsUPK ON Account_Contacts ( AccountCode, ContactID ) / CREATE TABLE Contact ( ContactID float NOT NULL, FirstName varchar2 ( 32 ) NOT NULL, LastName varchar2 ( 32 ) NOT NULL, Title varchar2 ( 32 ) NULL, Company varchar2 ( 32 ) NULL, Department varchar2 ( 32 ) NULL, Address varchar2 ( 64 ) NULL, City varchar2 ( 32 ) NULL, State varchar2 ( 5 ) NULL, Zip varchar2 ( 20 ) NULL, Region varchar2 ( 10 ) NULL, Country varchar2 ( 32 ) NULL, PrimaryPhone varchar2 ( 20 ) NULL, SecondaryPhone varchar2 ( 20 ) NULL, Pager varchar2 ( 20 ) NULL, FaxNumber varchar2 ( 20 ) NULL, Email varchar2 ( 128 ) NULL, Description long NULL, ContactType varchar2 ( 32 ) NOT NULL, ts char ( 16) NULL ) / CREATE UNIQUE INDEX ContactUPK ON Contact ( ContactID ) / CREATE INDEX ContactFNSK ON Contact ( FirstName ) / CREATE INDEX ContactLNSK ON Contact ( LastName ) / CREATE TABLE Contact_Type ( Name varchar2 ( 32 ) NOT NULL, Description long NULL, Weight number ( 22, 8 ) NOT NULL ) / CREATE UNIQUE INDEX Contact_TypeUPK ON Contact_Type ( Name ) / CREATE TABLE Defaults ( ConfigurationID float NOT NULL, ArchivePeriod date NOT NULL, NextIncidentID float NOT NULL, NextContactID float NOT NULL, NextStamp char ( 16 ) NOT NULL, AdministratorID varchar2 (128 ) NOT NULL ) / CREATE UNIQUE INDEX DefaultsUPK ON Defaults ( ConfigurationID ) / CREATE TABLE Group_Security ( GroupID varchar2 ( 32 ) NOT NULL, AccountInsert float NOT NULL, AccountDelete float NOT NULL, AccountModify float NOT NULL, AccountFetch float NOT NULL, ContactInsert float NOT NULL, ContactDelete float NOT NULL, ContactModify float NOT NULL, ContactFetch float NOT NULL, IncidentInsert float NOT NULL, IncidentDelete float NOT NULL, IncidentModify float NOT NULL, IncidentFetch float NOT NULL, ProjectInsert float NOT NULL, ProjectDelete float NOT NULL, ProjectModify float NOT NULL, ProjectFetch float NOT NULL, ts char ( 16) NULL ) / CREATE UNIQUE INDEX Group_SecurityUPK ON Group_Security ( GroupID ) / CREATE TABLE Incident ( IncidentID float NOT NULL, ProjectName varchar2 ( 255 ) NOT NULL, VersionName varchar2 ( 32 ) NOT NULL, Subject varchar2 ( 128 ) NOT NULL, Description long NULL, Resolution varchar2 ( 2000 ) NULL, WorkAround varchar2 ( 2000 ) NULL, Status varchar2 ( 32 ) NULL, Priority varchar2 ( 32 ) NULL, Category varchar2 ( 32 ) NULL, Severity varchar2 ( 32 ) NULL, IncidentName varchar2 ( 32 ) NULL, ProjectedTime float NULL, ActualTime float NULL, RequestID varchar2 ( 128 ) NOT NULL, AssignID varchar2 ( 128 ) NULL, ChangeID varchar2 ( 128 ) NOT NULL, StartDate date NOT NULL, AssignDate date NULL, ChangeDate date NOT NULL, ts char ( 16) NULL ) / CREATE UNIQUE INDEX IncidentUPK ON Incident ( IncidentID ) / CREATE TABLE Incident_Contacts ( IncidentID float NOT NULL, ContactID float NOT NULL ) / CREATE UNIQUE INDEX Incident_ContactsUPK ON Incident_Contacts ( IncidentID, ContactID ) / CREATE TABLE Incident_Documents ( IncidentID float NOT NULL, Name varchar2 ( 248 ) NOT NULL, DocumentID varchar2 ( 248 ) NOT NULL ) / CREATE UNIQUE INDEX Incident_DocumentsUPK ON Incident_Documents ( IncidentID, DocumentID ) / CREATE TABLE Incident_History ( IncidentID float NOT NULL, ProjectName varchar2 ( 255 ) NOT NULL, VersionName varchar2 ( 32 ) NOT NULL, Status varchar2 ( 32 ) NULL, Priority varchar2 ( 32 ) NULL, Severity varchar2 ( 32 ) NULL, ProjectedTime float NULL, ActualTime float NULL, RequestID varchar2 ( 128 ) NOT NULL, AssignID varchar2 ( 128 ) NULL, ChangeID varchar2 ( 128 ) NOT NULL, ChangeDate date NOT NULL ) / CREATE UNIQUE INDEX Incident_HistoryUPK ON Incident_History ( IncidentID, ChangeDate ) / CREATE TABLE Incident_Incidents ( IncidentID float NOT NULL, RelatedIncidentID float NOT NULL, RelatedType varchar2 ( 32 ) NOT NULL ) / CREATE UNIQUE INDEX Incident_IncidentsUPK ON Incident_Incidents ( IncidentID, RelatedIncidentID, RelatedType ) / CREATE TABLE Incident_Sources ( IncidentID float NOT NULL, Name varchar2 ( 128 ) NOT NULL, Version varchar2 ( 32 ) NOT NULL ) / CREATE UNIQUE INDEX Incident_SourcesUPK ON Incident_Sources ( IncidentID, Name, Version ) / CREATE TABLE Category_Type ( Name varchar2 ( 32 ) NOT NULL, Description long NULL, Weight number ( 22, 8 ) NOT NULL ) / CREATE UNIQUE INDEX Category_TypeUPK ON Category_Type ( Name ) / CREATE TABLE Notify ( SourceID varchar2 (128 ) NOT NULL, DestinationID varchar2 (128 ) NOT NULL, KeyValue varchar2 (255 ) NOT NULL, Description varchar2 (255 ) NOT NULL, Type float NOT NULL, Action float NOT NULL, Options float NOT NULL, NotifyDate date NOT NULL, ts char ( 16) NOT NULL ) / CREATE UNIQUE INDEX NotifyUPK ON Notify ( NotifyDate, DestinationID, SourceID ) / CREATE TABLE Notify_Trigger ( SourceID varchar2 (128 ) NOT NULL, KeyValue varchar2 (255 ) NOT NULL, Description varchar2 (255 ) NOT NULL, Type float NOT NULL, Action float NOT NULL, Options float NOT NULL, NotifyDate date NOT NULL, ts char ( 16) NOT NULL ) / CREATE UNIQUE INDEX Notify_TriggerUPK ON Notify_Trigger ( NotifyDate, SourceID ) / CREATE TABLE Priority_Type ( Name varchar2 ( 32 ) NOT NULL, Description long NULL, Weight number( 22, 8 ) NOT NULL ) / CREATE UNIQUE INDEX Priority_TypeUPK ON Priority_Type ( Name ) / CREATE TABLE Project ( Name varchar2 ( 255 ) NOT NULL, Description long NULL, Lead varchar2 ( 128 ) NULL, AccountCode varchar2 ( 32 ) NULL, ts char ( 16) NULL ) / CREATE UNIQUE INDEX ProjectUPK ON Project ( Name ) / CREATE TABLE Project_Projects ( ProjectName varchar2 ( 255 ) NOT NULL, RelatedProjectName varchar2 ( 255 ) NOT NULL, RelatedType varchar2 ( 32 ) NOT NULL ) / CREATE INDEX Project_ProjectsPSK ON Project_Projects ( ProjectName ) / CREATE INDEX Project_ProjectsRPSK ON Project_Projects ( RelatedProjectName ) / CREATE TABLE Project_Security ( UserID varchar2 ( 128 ) NOT NULL, GroupID varchar2 ( 32 ) NOT NULL, ProjectName varchar2 ( 255 ) NOT NULL ) / CREATE TABLE Project_Versions ( ProjectName varchar2 ( 255 ) NOT NULL, VersionName varchar2 ( 32 ) NOT NULL, Description long NULL ) / CREATE INDEX Project_VersionsPSK ON Project_Versions ( ProjectName ) / CREATE TABLE Related_Type ( Name varchar2 ( 32 ) NOT NULL, Description long NULL, Weight number( 22, 8 ) NOT NULL ) / CREATE UNIQUE INDEX Related_TypeUPK ON Related_Type ( Name ) / CREATE TABLE Report ( Name varchar2 ( 32 ) NOT NULL, Description varchar2 ( 128 ) NULL, Type float NOT NULL, FileName varchar2 ( 255 ) NOT NULL ) / CREATE UNIQUE INDEX ReportUPK ON Report ( Name ) / CREATE TABLE Severity_Type ( Name varchar2 ( 32 ) NOT NULL, Description long NULL, Weight number( 22, 8 ) NOT NULL ) / CREATE UNIQUE INDEX Severity_TypeUPK ON Severity_Type ( Name ) / CREATE TABLE Status_Type ( Name varchar2 ( 32 ) NOT NULL, Description long NULL, Weight number( 22, 8 ) NOT NULL ) / CREATE UNIQUE INDEX Status_TypeUPK ON Status_Type ( Name ) / CREATE TABLE Users ( UserID varchar2 ( 128 ) NOT NULL, Password varchar2 ( 12 ) NULL, ts char ( 16) NOT NULL ) / CREATE UNIQUE INDEX UsersUPK ON Users ( UserID ) / /***************************************************************************/ /* CREATE PUBLIC OPERATIONS */ /***************************************************************************/ GRANT SELECT, UPDATE, INSERT, DELETE ON Account TO PUBLIC / GRANT SELECT, UPDATE, INSERT, DELETE ON Account_Contacts TO PUBLIC / GRANT SELECT, UPDATE, INSERT, DELETE ON Contact TO PUBLIC / GRANT SELECT, UPDATE, INSERT, DELETE ON Contact_Type TO PUBLIC / GRANT SELECT, UPDATE, INSERT, DELETE ON Defaults TO PUBLIC / GRANT SELECT, UPDATE, INSERT, DELETE ON Group_Security TO PUBLIC / GRANT SELECT, UPDATE, INSERT, DELETE ON Incident TO PUBLIC / GRANT SELECT, UPDATE, INSERT, DELETE ON Incident_Contacts TO PUBLIC / GRANT SELECT, UPDATE, INSERT, DELETE ON Incident_Documents TO PUBLIC / GRANT SELECT, UPDATE, INSERT, DELETE ON Incident_History TO PUBLIC / GRANT SELECT, UPDATE, INSERT, DELETE ON Incident_Incidents TO PUBLIC / GRANT SELECT, UPDATE, INSERT, DELETE ON Incident_Sources TO PUBLIC / GRANT SELECT, UPDATE, INSERT, DELETE ON Category_Type TO PUBLIC / GRANT SELECT, UPDATE, INSERT, DELETE ON Notify TO PUBLIC / GRANT SELECT, UPDATE, INSERT, DELETE ON Notify_Trigger TO PUBLIC / GRANT SELECT, UPDATE, INSERT, DELETE ON Priority_Type TO PUBLIC / GRANT SELECT, UPDATE, INSERT, DELETE ON Project TO PUBLIC / GRANT SELECT, UPDATE, INSERT, DELETE ON Project_Projects TO PUBLIC / GRANT SELECT, UPDATE, INSERT, DELETE ON Project_Security TO PUBLIC / GRANT SELECT, UPDATE, INSERT, DELETE ON Project_Versions TO PUBLIC / GRANT SELECT, UPDATE, INSERT, DELETE ON Related_Type TO PUBLIC / GRANT SELECT, UPDATE, INSERT, DELETE ON Report TO PUBLIC / GRANT SELECT, UPDATE, INSERT, DELETE ON Severity_Type TO PUBLIC / GRANT SELECT, UPDATE, INSERT, DELETE ON Status_Type TO PUBLIC / GRANT SELECT, UPDATE, INSERT, DELETE ON Users TO PUBLIC / /***************************************************************************/ /* CREATE PUBLIC SYNONYM */ /***************************************************************************/ CREATE PUBLIC SYNONYM Account FOR Account / CREATE PUBLIC SYNONYM Account_Contacts FOR Account_Contacts / CREATE PUBLIC SYNONYM Contact FOR Contact / CREATE PUBLIC SYNONYM Contact_Type FOR Contact_Type / CREATE PUBLIC SYNONYM Defaults FOR Defaults / CREATE PUBLIC SYNONYM Group_Security FOR Group_Security / CREATE PUBLIC SYNONYM Incident FOR Incident / CREATE PUBLIC SYNONYM Incident_Contacts FOR Incident_Contacts / CREATE PUBLIC SYNONYM Incident_Documents FOR Incident_Documents / CREATE PUBLIC SYNONYM Incident_History FOR Incident_History / CREATE PUBLIC SYNONYM Incident_Incidents FOR Incident_Incidents / CREATE PUBLIC SYNONYM Incident_Sources FOR Incident_Sources / CREATE PUBLIC SYNONYM Category_Type FOR Category_Type / CREATE PUBLIC SYNONYM Notify FOR Notify / CREATE PUBLIC SYNONYM Notify_Trigger FOR Notify_Trigger / CREATE PUBLIC SYNONYM Priority_Type FOR Priority_Type / CREATE PUBLIC SYNONYM Project FOR Project / CREATE PUBLIC SYNONYM Project_Projects FOR Project_Projects / CREATE PUBLIC SYNONYM Project_Security FOR Project_Security / CREATE PUBLIC SYNONYM Project_Versions FOR Project_Versions / CREATE PUBLIC SYNONYM Related_Type FOR Related_Type / CREATE PUBLIC SYNONYM Report FOR Report / CREATE PUBLIC SYNONYM Severity_Type FOR Severity_Type / CREATE PUBLIC SYNONYM Status_Type FOR Status_Type / CREATE PUBLIC SYNONYM Users FOR Users / /***************************************************************************/ /* Default data */ /***************************************************************************/ /***************************************************************************/ /* User */ /***************************************************************************/ INSERT INTO Users (UserID,Password,ts) VALUES ('guest',NULL,'0000000000000001') / INSERT INTO Users (UserID,Password,ts) VALUES ('isadmin',NULL,'0000000000000002') / INSERT INTO Users (UserID,Password,ts) VALUES ('system',NULL,'0000000000000003') / INSERT INTO Users (UserID,Password,ts) VALUES ('isnotify',NULL,'0000000000000004') / INSERT INTO Users (UserID,Password,ts) VALUES ('isuser',NULL,'0000000000000005') / /***************************************************************************/ /* Contact_Type */ /***************************************************************************/ INSERT INTO Contact_Type (Weight,Name,Description) VALUES (1.0,'Alpha Tester','Alpha Tester Description') / INSERT INTO Contact_Type (Weight,Name,Description) VALUES (1.0,'Beta Tester','Beta Tester Description') / INSERT INTO Contact_Type (Weight,Name,Description) VALUES (1.0,'Customer','Customer Description') / INSERT INTO Contact_Type (Weight,Name,Description) VALUES (1.0,'Press','Press Description') / INSERT INTO Contact_Type (Weight,Name,Description) VALUES (1.0,'Industry','Industry Description') / INSERT INTO Contact_Type (Weight,Name,Description) VALUES (1.0,'Evaluation','Evaluation Description') / INSERT INTO Contact_Type (Weight,Name,Description) VALUES (1.0,'Lead','Lead Description') / INSERT INTO Contact_Type (Weight,Name,Description) VALUES (1.0,'Employee','Employee Description') / INSERT INTO Contact_Type (Weight,Name,Description) VALUES (1.0,'Resource','Resource Description') / INSERT INTO Contact_Type (Weight,Name,Description) VALUES (1.0,'Account Manager','Account Manager') / /***************************************************************************/ /* Category_Type */ /***************************************************************************/ INSERT INTO Category_Type (Weight,Name,Description) VALUES (0.00,'Automated Test','Incident was registered through an automated testing tool.') / INSERT INTO Category_Type (Weight,Name,Description) VALUES (0.75,'Code Error','Incident is a result of incorrect code implementation.') / INSERT INTO Category_Type (Weight,Name,Description) VALUES (0.05,'Cosmetic','Incident is regarding a feature that works as intended, but could look better.') / INSERT INTO Category_Type (Weight,Name,Description) VALUES (0.50,'Change Request','Incident is a request to change application functionality.') / INSERT INTO Category_Type (Weight,Name,Description) VALUES (0.50,'Configuration','Incident is a result of configuration issues.') / INSERT INTO Category_Type (Weight,Name,Description) VALUES (1.00,'Design Flaw','Incident is a result of a application design flaw.') / INSERT INTO Category_Type (Weight,Name,Description) VALUES (0.75,'Documentation','Incident is a result of incorrect documentation for an application feature.') / INSERT INTO Category_Type (Weight,Name,Description) VALUES (0.50,'Education','Incident requires educating users on feature functionality and usage.') / INSERT INTO Category_Type (Weight,Name,Description) VALUES (0.50,'Integration','Incident is a result of integration issues.') / INSERT INTO Category_Type (Weight,Name,Description) VALUES (0.50,'Internal','Incident is a result of internal discussion, outside the usual development process.') / INSERT INTO Category_Type (Weight,Name,Description) VALUES (0.50,'New Feature','Incident is a request for a totally new feature to extend application functionality.') / INSERT INTO Category_Type (Weight,Name,Description) VALUES (1.00,'Requirement','Incident is a required feature that has not been implemented according to specifications.') / INSERT INTO Category_Type (Weight,Name,Description) VALUES (0.50,'Source Inspection','Incident is a result of a code review.') / INSERT INTO Category_Type (Weight,Name,Description) VALUES (0.75,'Third Party','Incident is a result of a 3rd party product.') / INSERT INTO Category_Type (Weight,Name,Description) VALUES (1.00,'Unknown','Incident is of unknown type.') / INSERT INTO Category_Type (Weight,Name,Description) VALUES (0.00,'N/A','Category is not applicable.') / /***************************************************************************/ /* Related_Type */ /***************************************************************************/ INSERT INTO Related_Type (Weight,Name,Description) VALUES (1.0,'Affected','Affected by current document') / INSERT INTO Related_Type (Weight,Name,Description) VALUES (1.0,'Cause','Cause of current document') / INSERT INTO Related_Type (Weight,Name,Description) VALUES (1.0,'Duplicate','Duplicate of current document') / INSERT INTO Related_Type (Weight,Name,Description) VALUES (1.0,'Example','Example of current document') / INSERT INTO Related_Type (Weight,Name,Description) VALUES (1.0,'Information','Extra information of current document') / /***************************************************************************/ /* Priority_Type */ /***************************************************************************/ INSERT INTO Priority_Type (Weight,Name,Description) VALUES (1.00,'Urgent','Incident is extremely urgent and requires immediate attention.') / INSERT INTO Priority_Type (Weight,Name,Description) VALUES (0.75,'High','Incident is important and should be resolved as soon as possible.') / INSERT INTO Priority_Type (Weight,Name,Description) VALUES (0.50,'Medium','Incident is important but can be resolved in a reasonable time frame.') / INSERT INTO Priority_Type (Weight,Name,Description) VALUES (0.25,'Low','Incident is not critical and can be resolved as time and resources allow.') / INSERT INTO Priority_Type (Weight,Name,Description) VALUES (0.00,'N/A','Priority is not applicable.') / /***************************************************************************/ /* Severity_Type */ /***************************************************************************/ INSERT INTO Severity_Type (Weight,Name,Description) VALUES (0.25,'Annoying','Incident produces annoying behaviour.') / INSERT INTO Severity_Type (Weight,Name,Description) VALUES (0.50,'Confusion','Incident produces confusing behaviour.') / INSERT INTO Severity_Type (Weight,Name,Description) VALUES (1.00,'Crash','Incident causes system crash.') / INSERT INTO Severity_Type (Weight,Name,Description) VALUES (0.75,'Unexpected','Incident produces unexpected behaviour.') / INSERT INTO Severity_Type (Weight,Name,Description) VALUES (0.00,'N/A','Severity is not applicable.') / /***************************************************************************/ /* Status_Type */ /***************************************************************************/ INSERT INTO Status_Type (Weight,Name,Description) VALUES (1.00,'New','Incident has entered the system, but no one has looked at it yet.') / INSERT INTO Status_Type (Weight,Name,Description) VALUES (0.70,'Open','The appropriate resource to handle the Incident is being determined.') / INSERT INTO Status_Type (Weight,Name,Description) VALUES (0.70,'ReOpen','The Incident has resurfaced after it was officially closed.') / INSERT INTO Status_Type (Weight,Name,Description) VALUES (0.5,'Investigation','The actual cause of the Incident is being determined.') / INSERT INTO Status_Type (Weight,Name,Description) VALUES (0.25,'Development','Incident fix is under development.') / INSERT INTO Status_Type (Weight,Name,Description) VALUES (0.0,'Suspended','Work on the Incident has been suspended until further notice.') / INSERT INTO Status_Type (Weight,Name,Description) VALUES (0.0,'Rejected','Incident has been rejected.') / INSERT INTO Status_Type (Weight,Name,Description) VALUES (0.0,'Duplicate','Incident is a duplicate of an already known Incident.') / INSERT INTO Status_Type (Weight,Name,Description) VALUES (0.0,'Not Reproducible','Incident is not reproducible.') / INSERT INTO Status_Type (Weight,Name,Description) VALUES (0.25,'Unit Test','The Incident fix is being tested by itself.') / INSERT INTO Status_Type (Weight,Name,Description) VALUES (0.20,'System Test','The Incident fix is being tested with the entire system.') / INSERT INTO Status_Type (Weight,Name,Description) VALUES (0.10,'Q/A','The Incident fix is being tested by Quality Assurance.') / INSERT INTO Status_Type (Weight,Name,Description) VALUES (0.00,'Closed','The Incident has been successfully dealt with and is now closed.') / INSERT INTO Status_Type (Weight,Name,Description) VALUES (0.00,'N/A','Status is not applicable.') / /***************************************************************************/ /* User_Security */ /***************************************************************************/ /***************************************************************************/ /* Group_Security */ /***************************************************************************/ INSERT INTO Group_Security (GroupID, AccountInsert,AccountDelete,AccountModify,AccountFetch, ContactInsert,ContactDelete,ContactModify,ContactFetch, IncidentInsert,IncidentDelete,IncidentModify,IncidentFetch, ProjectInsert,ProjectDelete,ProjectModify,ProjectFetch) VALUES ('Administrator',1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1) / INSERT INTO Group_Security (GroupID, AccountInsert,AccountDelete,AccountModify,AccountFetch, ContactInsert,ContactDelete,ContactModify,ContactFetch, IncidentInsert,IncidentDelete,IncidentModify,IncidentFetch, ProjectInsert,ProjectDelete,ProjectModify,ProjectFetch) VALUES ('Director',1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1) / INSERT INTO Group_Security (GroupID, AccountInsert,AccountDelete,AccountModify,AccountFetch, ContactInsert,ContactDelete,ContactModify,ContactFetch, IncidentInsert,IncidentDelete,IncidentModify,IncidentFetch, ProjectInsert,ProjectDelete,ProjectModify,ProjectFetch) VALUES ('Project Lead',1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1) / INSERT INTO Group_Security (GroupID, AccountInsert,AccountDelete,AccountModify,AccountFetch, ContactInsert,ContactDelete,ContactModify,ContactFetch, IncidentInsert,IncidentDelete,IncidentModify,IncidentFetch, ProjectInsert,ProjectDelete,ProjectModify,ProjectFetch) VALUES ('Developer',1,1,1,1,1,1,1,1,0,0,0,1,1,0,1,1) / INSERT INTO Group_Security (GroupID, AccountInsert,AccountDelete,AccountModify,AccountFetch, ContactInsert,ContactDelete,ContactModify,ContactFetch, IncidentInsert,IncidentDelete,IncidentModify,IncidentFetch, ProjectInsert,ProjectDelete,ProjectModify,ProjectFetch) VALUES ('Support',1,1,1,1,1,1,1,1,0,0,0,1,1,0,0,1) / INSERT INTO Group_Security (GroupID, AccountInsert,AccountDelete,AccountModify,AccountFetch, ContactInsert,ContactDelete,ContactModify,ContactFetch, IncidentInsert,IncidentDelete,IncidentModify,IncidentFetch, ProjectInsert,ProjectDelete,ProjectModify,ProjectFetch) VALUES ('Help Desk',1,1,1,1,1,1,1,1,0,0,0,1,1,0,0,1) / INSERT INTO Group_Security (GroupID, AccountInsert,AccountDelete,AccountModify,AccountFetch, ContactInsert,ContactDelete,ContactModify,ContactFetch, IncidentInsert,IncidentDelete,IncidentModify,IncidentFetch, ProjectInsert,ProjectDelete,ProjectModify,ProjectFetch) VALUES ('Quality Assurance',1,1,1,1,1,1,1,1,0,0,0,1,1,0,1,1) / /***************************************************************************/ /* Reports */ /***************************************************************************/ INSERT INTO Report (Name,Description,Type,FileName) VALUES ('Account bullet','Account bullet',258,'isacctbl.rpt') / INSERT INTO Report (Name,Description,Type,FileName) VALUES ('Account verbose','Account verbose',1026,'ispracct.rpt') / INSERT INTO Report (Name,Description,Type,FileName) VALUES ('Contact bullet','Contact bullet',259,'iscontbl.rpt') / INSERT INTO Report (Name,Description,Type,FileName) VALUES ('Contact verbose','Contact verbose',1027,'isprcont.rpt') / INSERT INTO Report (Name,Description,Type,FileName) VALUES ('Incident bullet','Incident bullet',260,'isincdbl.rpt') / INSERT INTO Report (Name,Description,Type,FileName) VALUES ('Incident verbose','Incident verbose',1028,'isprincd.rpt') / INSERT INTO Report (Name,Description,Type,FileName) VALUES ('Project bullet','Project bullet',261,'isprojbl.rpt') / INSERT INTO Report (Name,Description,Type,FileName) VALUES ('Project verbose','Project verbose',1029,'isprproj.rpt') / INSERT INTO Report (Name,Description,Type,FileName) VALUES ('Group bullet','Group bullet',262,'isgrupbl.rpt') / INSERT INTO Report (Name,Description,Type,FileName) VALUES ('Group verbose','Group verbose',1030,'isprgrup.rpt') / INSERT INTO Report (Name,Description,Type,FileName) VALUES ('User bullet','User bullet',263,'isuserbl.rpt') / INSERT INTO Report (Name,Description,Type,FileName) VALUES ('User verbose','User verbose',1031,'ispruser.rpt') / INSERT INTO Report (Name,Description,Type,FileName) VALUES ('Incidents by Status','Incidents by Status',270532611,'grstat.rpt') / INSERT INTO Report (Name,Description,Type,FileName) VALUES ('Incidents by Priority','Incidents by Priority',270532611,'grprior.rpt') / INSERT INTO Report (Name,Description,Type,FileName) VALUES ('Incidents by Severity','Incidents by Severity',270532611,'grsever.rpt') / INSERT INTO Report (Name,Description,Type,FileName) VALUES ('Incidents by Project','Incidents by Project',270532611,'grproj.rpt') / INSERT INTO Report (Name,Description,Type,FileName) VALUES ('Incidents by AssignID','Incidents by AssignID',270532611,'grassign.rpt') / INSERT INTO Report (Name,Description,Type,FileName) VALUES ('Incidents by RequestID','Incidents by RequestID',270532611,'grreq.rpt') / INSERT INTO Report (Name,Description,Type,FileName) VALUES ('Incidents Count','Incident Count',269488131,'grcount.rpt') / /***************************************************************************/ /* Defaults */ /***************************************************************************/ INSERT INTO Defaults (ConfigurationID,ArchivePeriod,NextIncidentID,NextContactID,NextStamp,AdministratorID) VALUES (1,'31-DEC-95',0,0,'0000000000000006','isadmin') /